@import (reference) "./../shared/common";
@import (reference) "./../shared/color";
:host {
  .display-flex;
  .flex;
}

@tick-height: 30px;
.space-right {
  border-right: 1px solid #E8E8E8;
}

.background-main {
  background: white;
}

.ticks-headers {
  display: flex;
  border-bottom: 1px solid #E8E8E8;
  .background-main;
  .tick-header {
    .space-right;
    width: 5%;
    flex-grow: 1;
    display: flex;
  }
}

.tick-cell {
  width: 33%;
  flex-grow: 1;
  text-align: center;
  font-size: 1.4rem;
  line-height: 30px;
  cursor: default;
}

.color-green {
  color: @color-green-gray;
}

.color-red {
  color: @color-red-red;
}

.volume.color-green::after {
  content: "S";
}

.volume.color-red::after {
  content: "B";
}

.ticks-container {
  .background-main;
  height: calc(~"100% - 31px");
  position: relative;
  .flex;
  .tick {
    .space-right;
    height: @tick-height;
    display: flex;
    flex-direction: row;
    // flex-grow: 1;
    justify-content: space-between;
    width: 25%;
  }
  .ticks-main {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    display: flex;
    flex-wrap: wrap;
    flex-flow: column wrap;
    user-select: none;
  }
  .ticks-background {
    .background-main;
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    display: flex;
    flex-direction: column;
    .ticks-background-row {
      // flex-grow: 1;
      height: @tick-height;
      width: 100%;
      &:nth-child(2n) {
        background-color: #F6F7F7;
      }
    }
  }
}